/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cz.muni.fi.pa165.carpark.TO;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author xmarton1
 */
public class BusinessTripTO implements Serializable{
    
    private Long id;
    private EmployeeTO employee;
    private VehicleTO vehicle;
    private int numberOfDrivenKms;
    private Date dateOfTrip;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public EmployeeTO getEmployee() {
        return employee;
    }

    public void setEmployee(EmployeeTO employee) {
        this.employee = employee;
    }

    public VehicleTO getVehicle() {
        return vehicle;
    }

    public void setVehicle(VehicleTO vehicle) {
        this.vehicle = vehicle;
    }

    public int getNumberOfDrivenKms() {
        return numberOfDrivenKms;
    }

    public void setNumberOfDrivenKms(int numberOfDrivenKms) {
        this.numberOfDrivenKms = numberOfDrivenKms;
    }

    public Date getDateOfTrip() {
        return dateOfTrip;
    }

    public void setDateOfTrip(Date dateOfTrip) {
        this.dateOfTrip = dateOfTrip;
    }

    @Override
    public String toString() {
        return "BusinessTripTO{" + "id=" + id + ", employee=" + employee + ", vehicle=" + vehicle + ", numberOfDrivenKms=" + numberOfDrivenKms + ", dateOfTrip=" + dateOfTrip + '}';
    }
    
    
    
    

}
